#include <stdio.h>
int main(int argc, char * argv[])
{
	printf("sizeof(char)   = %d\n", sizeof(char));
	printf("sizeof(int)    = %d\n", sizeof(int));
	printf("sizeof(float)  = %d\n", sizeof(float)); 
	printf("sizeof(double) = %d\n", sizeof(double));
	char cv1 = 'C';
	char cv2 = cv1 + 2;
	printf("%c %c\n", cv1, cv2);
	char cv3 = 'A' + 128;
	printf("'A' %d + 128 = %d\n", 'A', cv3);
	int iv1 = 'A' + 128;
	printf("'A' %d + 128 = %d\n", 'A', iv1);
	int iv2 = 9 + cv1;
	char cv4 = iv2 + 6;
	printf("iv2 = %d, cv4 = %c\n", iv2, cv4);
	int iv3 = 6 + 7.2;
	double dv1 = 6 + 7.2;
	printf("iv3 = %d, dv1 = %f\n", iv3, dv1);
	double dv2 = 1.9e+300;
	double dv3 = -2.4e-100;
	double dv4 = (dv2 + dv3) - dv2;
	printf("dv2 = %e, dv3 = %e, dv4 = %e\n", dv2, dv3, dv4);
	printf("dv4 - dv3 = %e\n", dv4 - dv3);
	int iv4 = (1 << 31) + 1;
	printf("iv4 u = %u, d = %d\n", iv4, iv4);
	int iv5 = (5 << 2) + 9;
	printf("iv5 = %d\n", iv5);
	return 0;
}